\section{Thread\-Synch\-Test\-WM/Thread\-Synch\-Demo\-WM.cpp File Reference}
\label{_thread_synch_demo_w_m_8cpp}\index{ThreadSynchTestWM/ThreadSynchDemoWM.cpp@{ThreadSynchTestWM/ThreadSynchDemoWM.cpp}}
{\tt \#include \char`\"{}pch.h\char`\"{}}\par
{\tt \#include \char`\"{}Thread\-Synch\-Demo\-WM.h\char`\"{}}\par


Include dependency graph for Thread\-Synch\-Demo\-WM.cpp:\subsection*{Functions}
\begin{CompactItemize}
\item 
int APIENTRY {\bf \_\-t\-Win\-Main} (HINSTANCE h\-Instance, HINSTANCE h\-Prev\-Instance, LPTSTR lp\-Cmd\-Line, int n\-Cmd\-Show)
\item 
LRESULT CALLBACK {\bf dlg\-Proc} (HWND h\-Dlg, UINT message, WPARAM w\-Param, LPARAM l\-Param)
\item 
DWORD WINAPI {\bf demo\-Worker\-Thread} (PVOID)
\item 
void {\bf update\-Text} (const string \&text\-To\-Add)
\end{CompactItemize}


\subsection{Function Documentation}
\index{ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}!_tWinMain@{\_\-tWinMain}}
\index{_tWinMain@{\_\-tWinMain}!ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int APIENTRY \_\-t\-Win\-Main (HINSTANCE {\em h\-Instance}, HINSTANCE {\em h\-Prev\-Instance}, LPTSTR {\em lp\-Cmd\-Line}, int {\em n\-Cmd\-Show})}\label{_thread_synch_demo_w_m_8cpp_af5e7f94cc186f55d373ad6a6d311bcb}


\index{ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}!demoWorkerThread@{demoWorkerThread}}
\index{demoWorkerThread@{demoWorkerThread}!ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DWORD WINAPI demo\-Worker\-Thread (PVOID)}\label{_thread_synch_demo_w_m_8cpp_cdde2e96e924a55bbb9f944121f04104}


\index{ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}!dlgProc@{dlgProc}}
\index{dlgProc@{dlgProc}!ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LRESULT CALLBACK dlg\-Proc (HWND {\em h\-Dlg}, UINT {\em message}, WPARAM {\em w\-Param}, LPARAM {\em l\-Param})}\label{_thread_synch_demo_w_m_8cpp_5fa6300aa59043f18d659703f0e5012a}


\index{ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}!updateText@{updateText}}
\index{updateText@{updateText}!ThreadSynchDemoWM.cpp@{Thread\-Synch\-Demo\-WM.cpp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void update\-Text (const string \& {\em text\-To\-Add})}\label{_thread_synch_demo_w_m_8cpp_ead0c3836db8b93496824726dc90432a}


